<!--
  @author wangxiaokun
  @date 2021-03-15 18:25:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>可用优惠信息</title>
    <th:block th:replace="common/common :: jscss"/>
    <style>
        body {
            background-color: white !important;
        }
        .text-step {
            margin-top: 10px;
        }
        .layui-form-select dl {
            max-height: 185px;
        }
        .first-col {
            background-color: #F2F2F2;
            height: 26px;
            text-align: center;
            padding-top: 8px;
            width: 1096px;
        }
        .non-data {
            height: 26px;
            text-align: center;
            margin: 15px 0px;
            width: 1096px;
        }
        .title-item {
            margin-bottom: -1px !important;
        }
        .layui-btn-primary {
            border: 1px solid #C9C9C9;
            background-color: #AEAEAE;
            color: #DFDFDF;
        }
    </style>
</head>
<body>
<div class="layui-fluid new-order-page">
    <div class="layui-card">
        <div class="layui-form-item">
            <div class="layui-form layui-inline">
                <label class="layui-form-label">地址：</label>
                <div class="layui-input-inline" style="width: 150px;">
                    <select id="provinceId" name="provinceId" lay-verify="required" lay-filter="province"
                            lay-search>
                        <option value="">-省份-</option>
                        <option th:each="province : ${provinceList}" th:value="${province.value}"
                                th:text="${province.text}"></option>
                    </select>
                </div>
                <div class="layui-input-inline" style="width: 150px;">
                    <select id="cityId" name="cityId" lay-verify="required" lay-filter="city" lay-search>
                        <option value="">-城市-</option>
                        <!--<option th:each="item : ${cityList}"
                                data-th-data-pid="${item.pid}" th:value="${item.value}" th:text="${item.text}">
                        </option>-->
                    </select>
                </div>
                <label class="layui-form-label">服务产品：</label>
                <div class="layui-input-inline" style="width: 150px;">
                    <select id="servCategoryId" name="servCategoryId" lay-verify="required" lay-search lay-filter="servCategoryId">
                        <option value="">-选择-</option>
                        <option th:each="item : ${servCategList}" th:value="${item.value}" th:text="${item.text}"></option>
                    </select>
                </div>
                <div class="layui-input-inline" style="width: 150px;" id="dv-show-product">
                    <select class="product-select"
                            lay-verify="required"
                            id="showProductId"
                            name="showProductId"
                            lay-filter="showProductId"
                            lay-search>
                        <option value="">-选择-</option>
                    </select>
                </div>
                <!--<button class="layui-btn" type="button" lay-filter="selectDiscount" lay-submit>查询</button>-->
                <button class="layui-btn layuiadmin-btn-admin" id="submit-search" lay-submit lay-filter="submit-search">
                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                </button>
                <button type="button" class="layui-btn layui-btn-primary" lay-filter="submit-reset" lay-submit>
                    <i class="layui-icon layui-icon-refresh layuiadmin-button-btn"></i>
                </button>
            </div>
        </div>
        <div class="layui-form-item title-item">
            <div class="first-col">美团、口碑等第三方促销活动（仅代表用户可参与的促销活动）</div>
        </div>
        <div class="layui-form-item">
            <table class="layui-table layui-hide" lay-filter="zmn-third-discount" id="zmn-third-discount"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-hide non-data non-third">无</div>
        </div>
        <div class="layui-form-item title-item">
            <div class="first-col">啄木鸟促销活动（仅代表用户可参与的促销活动）</div>
        </div>
        <div class="layui-form-item">
            <table class="layui-table layui-hide" lay-filter="zmn-promotion-table" id="zmn-promotion-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-hide non-data non-promotion">无</div>
        </div>
        <div class="layui-form-item title-item">
            <div class="first-col">啄木鸟优惠券（仅代表用户可购买的优惠券）</div>
        </div>
        <div class="layui-form-item">
            <table class="layui-table layui-hide" lay-filter="zmn-discount-table" id="zmn-discount-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-hide non-data non-discount">无</div>
        </div>
        <div class="layui-form-item title-item">
            <div class="first-col">增值服务优惠券（指：通过购买增值产品领取到的优惠券，以下优惠券仅代表用户可购买的增值服务优惠券）</div>
        </div>
        <div class="layui-form-item">
            <table class="layui-table layui-hide" lay-filter="zmn-increment-table" id="zmn-increment-table"></table>
        </div>
        <div class="layui-form-item">
            <div class="layui-hide non-data non-increment">无</div>
        </div>
    </div>
</div>

<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/",
        version: 20221013001
    }).extend({
        oms_work_modify_selectDiscount: "work/modify/zmn.oms.work.modify.selectDiscount"
    }).use(['index', 'oms_work_modify_selectDiscount']);
</script>

</body>
</html>